package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;


public class BuildingDTO extends Object implements IsSerializable {
	
	private long id;
	private String name;
	private String symbol;
	
	
	public BuildingDTO() {}
	
	public BuildingDTO(String title) {
		this.name = title;
	}

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public String getSymbol() {
		return symbol;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public String toString() {
		String result = "" +
			"[ " + BuildingDTO.class + "]" +
			"name: " + name +
			", symbol: " + symbol;
		return result;
	}
	

}
